<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>注册</title>

    <link rel="stylesheet" href="../css/common.css">

    <style>
        /* html,body{
            width: 100%;
            height: 100%;
            background-color: rgb(17, 170, 25);
        }
        html,body,div{
            padding: 0%;
            margin: 0%;
        } */

        #login{
            width:100%;
            height:100%;
            background: darkorange;
        }
        .login{
            margin-left:0px;
            
        }

        .login-box{
            width:100%;
            height:100%;
            background: url(../imgs/one.png) 0 0 no-repeat;
            background-size: 100% 100%;

            /* 盒子垂直水平居中  */
            display: flex;  /* 弹性盒子*/
            justify-content: center;
            align-items: center;


        }

        .form-box{
            width:440px;
            /* height:480px; */
            min-height: 400px;

            background: rgba(255,255,255,0.7);
            border-radius: 15px;    /* 边框圆角 */
            padding:15px;   /* 内边距 */
            box-sizing: border-box;
        }
        .title{
            text-align: center;  /* 文本剧中 */
            font-size: 30px;   /*字体大小*/
            color:#1296db;  /* 字体颜色 */
        }

        .form{
            padding:15px 15px;   
        }
        .col{
            margin-top:15px;
            padding-bottom:15px;
            display: flex;
            align-items: center;  /*垂直居中*/
            width:100%;
        }
        .label{
            font-size: 20px;
            color:#000;
            font-weight: 500;   /*字体粗细*/ 
            width:90px;
            text-align: right;
            margin-right:5px;
        }
        .inpcol{
            margin-top:0px;
            flex:1;   /* 占满余下的所有的宽度  */
        }
        input{
            height:45px;
            width:100%;
            padding:0 10px;
            box-sizing: border-box;  /*保持宽度固定 内容不会溢出*/
            outline: none;
            border:1px solid #999;  /*边框*/
            border-radius: 6px;
            font-size: 18px;
            line-height: 45px;
            color:#000;
            background: transparent;
            font-weight: bold;  
        }
        .btns{
            margin-top:60px;
        }
        .btn-login{
            width:100%;
            height:45px;
            background: #1989fa;
            
            color:#fff;
            border:none;
            outline: none;
            border-radius: 10px;
            font-size: 18px;
            cursor: pointer;
        }
        .btn-login:hover{
            opacity: 0.6;
        }

        .rows{
            display: flex;
            justify-content: space-between;
            margin-top:4px;
        }

        .item{
            text-decoration: none;  /* 去掉下划线 */ 
        }
        .aleft{
            color:#1989fa;
        }
        .aright{
            color:#f56c6c;
        }
    </style>

</head>

<body>

    <div class="login" id="login">
        <div class="login-box">
            <div class="form-box">
                <h2 class="title">欢迎注册账号</h2>

                <form   class="form">

                    <div class="col">
                        <div class="label">姓名:</div>
                        <div class="inpcol">
                            <input type="text"  required  name="stu_name"   placeholder="请输入账号">
                        </div>
                    </div>

                    <div class="col">
                        <div class="label">手机号:</div>
                        <div class="inpcol">
                            <input type="text"  required  name="stu_phone"   placeholder="请输入手机号">
                        </div>
                    </div>

                    <div class="col">
                        <div class="label">邮箱:</div>
                        <div class="inpcol">
                            <input type="text"  required  name="stu_email"   placeholder="请输入邮箱">
                        </div>
                    </div>

                    <div class="col">
                        <div class="label">密码:</div>
                        <div class="inpcol">
                            <input type="password" required  name="stu_password" placeholder="请输入密码" >
                        </div>
                    </div>

                    <div class="col">
                        <div class="label">确认密码:</div>
                        <div class="inpcol">
                            <input type="password" required  name="stu_confirmpass" placeholder="请输入确认密码" >
                        </div>
                    </div>

                    <div class="btns">
                        <button class="btn-login"  type="submit" >立即注册</button>
                        <div class="rows">
                            <a href="./login.html" class="item aleft">登录</a>
                            <a href="./findpass.html" class="item aright">找回密码</a>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
    
</body>
</html>